//
//  SCNetWorkConfig.h
//  Shuaiche
//
//  Created by 党帅 on 2019/12/24.
//  Copyright © 2019 ShuaiChe. All rights reserved.
//

#import <Foundation/Foundation.h>



//#define APP_STORE     1     // 发布至AppStore，线上

//#define APP_INNER_DEV   1    // 开发
#define APP_INNER_TEST  1   // 测试
//#define APP_INNER_PRO   1   // 线上
//#define APP_SHOW_SPLASH   1   // 显示新版本引导页

    
NS_ASSUME_NONNULL_BEGIN



extern NSString const*kSC_API_DOMAIN;
extern NSString const*kSC_WEB_DOMAIN;
extern NSString const*kSC_IM_API_ADDR;
extern NSString const*kSC_IM_WS_ADDR;
extern NSString const*kSC_IMG_DOMAIN;


extern float kSCNavigationHeight;
extern float kSCStatusBarHeight;
extern float kSCScreenBottomOffset;
extern float kSCScreenLeftOffset;
extern float kSCTabBarHeight;

extern float kSCScreenWidth;
extern float kSCScreenHeight;


#ifdef APP_INNER_DEV
#define APP_INNER @"dev"

#elif APP_INNER_TEST
#define APP_INNER @"test"

#elif APP_INNER_PRO
#define APP_INNER @"pro"

#endif


NSString*sc_url_web(NSString *path);
NSString*sc_url_img(NSString *path);

@interface SCAppConfig : NSObject

@property(nonatomic, assign) BOOL wxWorkRegister;

+ (instancetype)sharedInstance;
- (void)config;
- (void)changeDomainWithEnv:(NSString *)env;
- (NSDictionary *)appApiDomains;
- (NSString *)currentEnv;

@end

NS_ASSUME_NONNULL_END

